<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Sample Playback</title>
    <link rel="stylesheet" type="text/css" href="csound.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" />
    <link rel="up" href="SiggenTop.html" title="Signal Generators" />
    <link rel="prev" href="SiggenNoise.html" title="Random (Noise) Generators" />
    <link rel="next" href="SiggenScanTop.html" title="Scanned Synthesis" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Sample Playback</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="SiggenNoise.html">Prev</a> </td>
          <th width="60%" align="center">Signal Generators</th>
          <td width="20%" align="right"> <a accesskey="n" href="SiggenScanTop.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="section">
      <div class="titlepage">
        <div>
          <div>
            <h2 class="title" style="clear: both"><a id="SiggenSample"></a>Sample Playback</h2>
          </div>
        </div>
      </div>
      <p>
    Opcodes that implement sample playback and looping are:
    </p>
      <div class="itemizedlist">
        <ul class="itemizedlist" style="list-style-type: disc; ">
          <li class="listitem">
            <p>
              <a class="link" href="bbcutm.html" title="bbcutm">
                <em class="citetitle">bbcutm</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="bbcuts.html" title="bbcuts">
                <em class="citetitle">bbcuts</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="flooper.html" title="flooper">
                <em class="citetitle">flooper</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="flooper2.html" title="flooper2">
                <em class="citetitle">flooper2</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="loscil.html" title="loscil">
                <em class="citetitle">loscil</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="loscil3.html" title="loscil3">
                <em class="citetitle">loscil3</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="loscilx.html" title="loscilx">
                <em class="citetitle">loscilx</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="lphasor.html" title="lphasor">
                <em class="citetitle">lphasor</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="lposcil.html" title="lposcil">
                <em class="citetitle">lposcil</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="lposcil3.html" title="lposcil3">
                <em class="citetitle">lposcil3</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="lposcila.html" title="lposcila">
                <em class="citetitle">lposcila</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="lposcilsa.html" title="lposcilsa">
                <em class="citetitle">lposcilsa</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="lposcilsa2.html" title="lposcilsa2">
                <em class="citetitle">lposcilsa2</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="sndloop.html" title="sndloop">
                <em class="citetitle">sndloop</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="waveset.html" title="waveset">
                <em class="citetitle">waveset</em>
              </a>
            </p>
          </li>
        </ul>
      </div>
      <p>
    See also the <a class="link" href="SigioInput.html" title="Signal Input"><em class="citetitle">Signal Input</em></a> section for other ways to input sound.
  </p>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="SiggenSampleSF"></a>Soundfonts</h3>
            </div>
          </div>
        </div>
        <div class="simplesect">
          <div class="titlepage">
            <div>
              <div>
                <h4 class="title"><a id="idp79844112"></a>Fluid Opcodes</h4>
              </div>
            </div>
          </div>
          <p>    The fluid family of opcodes wraps Peter Hannape's SoundFont 2 player, FluidSynth: 
        <a class="link" href="fluidEngine.html" title="fluidEngine"><em class="citetitle">fluidEngine</em></a> for
        instantiating a FluidSynth engine,
        <a class="link" href="fluidSetInterpMethod.html" title="fluidSetInterpMethod"><em class="citetitle">fluidSetInterpMethod</em></a> for
        setting interpolation method for a channel in a FluidSynth engine,
        <a class="link" href="fluidLoad.html" title="fluidLoad"><em class="citetitle">fluidLoad</em></a> for
        loading SoundFonts,
        <a class="link" href="fluidProgramSelect.html" title="fluidProgramSelect"><em class="citetitle">fluidProgramSelect</em></a> for
        assigning presets from a SoundFont to a FluidSynth engine's MIDI channel,
        <a class="link" href="fluidNote.html" title="fluidNote"><em class="citetitle">fluidNote</em></a> for
        playing a note on a FluidSynth engine's MIDI channel,
        <a class="link" href="fluidCCi.html" title="fluidCCi"><em class="citetitle">fluidCCi</em></a> for
        sending a controller message at i-time to a FluidSynth engine's MIDI channel,
        <a class="link" href="fluidCCk.html" title="fluidCCk"><em class="citetitle">fluidCCk</em></a> for
        sending a controller message at k-rate to a FluidSynth engine's MIDI channel. 
        <a class="link" href="fluidControl.html" title="fluidControl"><em class="citetitle">fluidControl</em></a> for
        playing and controlling loaded Soundfonts (using 'raw' MIDI messages),
        <a class="link" href="fluidOut.html" title="fluidOut"><em class="citetitle">fluidOut</em></a> for
        receiving audio from a single FluidSynth engine, and
        <a class="link" href="fluidAllOut.html" title="fluidAllOut"><em class="citetitle">fluidAllOut</em></a> for
        receiving audio from all FluidSynth engines.
      </p>
          <div class="itemizedlist">
            <ul class="itemizedlist" style="list-style-type: disc; ">
              <li class="listitem">
                <p>
                  <a class="link" href="fluidAllOut.html" title="fluidAllOut">
                    <em class="citetitle">fluidAllOut</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidCCi.html" title="fluidCCi">
                    <em class="citetitle">fluidCCi</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidCCk.html" title="fluidCCk">
                    <em class="citetitle">fluidCCk</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidControl.html" title="fluidControl">
                    <em class="citetitle">fluidControl</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidEngine.html" title="fluidEngine">
                    <em class="citetitle">fluidEngine</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidLoad.html" title="fluidLoad">
                    <em class="citetitle">fluidLoad</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidNote.html" title="fluidNote">
                    <em class="citetitle">fluidNote</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidOut.html" title="fluidOut">
                    <em class="citetitle">fluidOut</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidProgramSelect.html" title="fluidProgramSelect">
                    <em class="citetitle">fluidProgramSelect</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="fluidSetInterpMethod.html" title="fluidSetInterpMethod">
                    <em class="citetitle">fluidSetInterpMethod</em>
                  </a>
                </p>
              </li>
            </ul>
          </div>
        </div>
        <div class="simplesect">
          <div class="titlepage">
            <div>
              <div>
                <h4 class="title"><a id="idp79869760"></a>"Old" Soundfont opcodes</h4>
              </div>
            </div>
          </div>
          <p> These opcodes can also use soundfonts to generate sound. 
	sfplay etc. were created for one purpose -- to use the samples in SoundFonts. The fluid opcodes were created for another purpose -- to use SoundFonts more or less the way they were designed to be used, i.e. using keyboard mappings, layers, internal processing, etc.
      </p>
          <div class="itemizedlist">
            <ul class="itemizedlist" style="list-style-type: disc; ">
              <li class="listitem">
                <p>
                  <a class="link" href="sfilist.html" title="sfilist">
                    <em class="citetitle">sfilist</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfinstr.html" title="sfinstr">
                    <em class="citetitle">sfinstr</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfinstr3.html" title="sfinstr3">
                    <em class="citetitle">sfinstr3</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfinstr3m.html" title="sfinstr3m">
                    <em class="citetitle">sfinstr3m</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfinstrm.html" title="sfinstrm">
                    <em class="citetitle">sfinstrm</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfload.html" title="sfload">
                    <em class="citetitle">sfload</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfpassign.html" title="sfpassign">
                    <em class="citetitle">sfpassign</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfplay.html" title="sfplay">
                    <em class="citetitle">sfplay</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfplay3.html" title="sfplay3">
                    <em class="citetitle">sfplay3</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfplay3m.html" title="sfplay3m">
                    <em class="citetitle">sfplay3m</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfplaym.html" title="sfplaym">
                    <em class="citetitle">sfplaym</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sflooper.html" title="sflooper">
                    <em class="citetitle">sflooper</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfplist.html" title="sfplist">
                    <em class="citetitle">sfplist</em>
                  </a>
                </p>
              </li>
              <li class="listitem">
                <p>
                  <a class="link" href="sfpreset.html" title="sfpreset">
                    <em class="citetitle">sfpreset</em>
                  </a>
                </p>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="SiggenNoise.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="SiggenTop.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="SiggenScanTop.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Random (Noise) Generators </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Scanned Synthesis</td>
        </tr>
      </table>
    </div>
  </body>
</html>
